package com.lifesea.dao.mybatis;

import com.lifesea.model.BaseDoctor;
import com.lifesea.model.BaseDoctorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BaseDoctorMapper {
    int countByExample(BaseDoctorExample example);

    int deleteByExample(BaseDoctorExample example);

    int deleteByPrimaryKey(Integer docId);

    int insert(BaseDoctor record);

    int insertSelective(BaseDoctor record);

    List<BaseDoctor> selectByExample(BaseDoctorExample example);

    BaseDoctor selectByPrimaryKey(Integer docId);

    int updateByExampleSelective(@Param("record") BaseDoctor record, @Param("example") BaseDoctorExample example);

    int updateByExample(@Param("record") BaseDoctor record, @Param("example") BaseDoctorExample example);

    int updateByPrimaryKeySelective(BaseDoctor record);

    int updateByPrimaryKey(BaseDoctor record);
}